package model;

import java.util.Date;

public class Task {
	private Integer id;
	private Integer senderid; // 发送人
	private Integer managerid; // 反馈负责人
	private String managername;
	private String title;
	private String content;
	private Integer status; // 状态：1.草稿，2.发布，3.已反馈，4.已删除
	private Date plantime; // 计划完成时间
	private Integer type; // 任务性质（从字典表中拉取）
	private Date finishtime; // 实际完成时间
	private String finishcontent; // 实际完成情况
	private Date lasttime; // 最后修改时间
	private Date sendtime; // 发送时间
	private Date feedbacktime; // 发送时间
	private Date readtime; // 发送时间
	private Integer isread;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSenderid() {
		return senderid;
	}

	public void setSenderid(Integer senderid) {
		this.senderid = senderid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getPlantime() {
		return plantime;
	}

	public void setPlantime(Date plantime) {
		this.plantime = plantime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getFinishtime() {
		return finishtime;
	}

	public void setFinishtime(Date finishtime) {
		this.finishtime = finishtime;
	}

	public String getFinishcontent() {
		return finishcontent;
	}

	public void setFinishcontent(String finishcontent) {
		this.finishcontent = finishcontent;
	}

	public Date getLasttime() {
		return lasttime;
	}

	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}

	public Date getSendtime() {
		return sendtime;
	}

	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}

	public Integer getManagerid() {
		return managerid;
	}

	public void setManagerid(Integer managerid) {
		this.managerid = managerid;
	}

	public String getManagername() {
		return managername;
	}

	public void setManagername(String managername) {
		this.managername = managername;
	}

	public Date getFeedbacktime() {
		return feedbacktime;
	}

	public void setFeedbacktime(Date feedbacktime) {
		this.feedbacktime = feedbacktime;
	}

	public Date getReadtime() {
		return readtime;
	}

	public void setReadtime(Date readtime) {
		this.readtime = readtime;
	}

	public Integer getIsread() {
		return isread;
	}

	public void setIsread(Integer isread) {
		this.isread = isread;
	}

	@Override
	public String toString() {
		return "Task [id=" + id + ", senderid=" + senderid + ", managerid="
				+ managerid + ", managername=" + managername + ", title="
				+ title + ", content=" + content + ", status=" + status
				+ ", plantime=" + plantime + ", type=" + type + ", finishtime="
				+ finishtime + ", finishcontent=" + finishcontent
				+ ", lasttime=" + lasttime + ", sendtime=" + sendtime
				+ ", feedbacktime=" + feedbacktime + ", readtime=" + readtime
				+ ", isread=" + isread + "]";
	}


}
